package com.fuhui.controller;

import com.fuhui.dao.txu.GradeMapper;
import com.fuhui.dao.txm.PadConfigMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("user")
public class UserController {


    @Autowired
    private GradeMapper gradeMapper;

    @Autowired
    private PadConfigMapper padMapper;


    @RequestMapping("test")
    public Object test(){
//        long appId = Long.valueOf("222772898937712640");
        List list = padMapper.getList(1,"1",1,1,0,10,1);
        System.out.println("list=="+list);
        return list;
    }

}
